#include <windows.h>
#include <commctrl.h>
#include <stdio.h>

#include "afxwin.h"


BOOL CButton::Create( LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext )
{
	fprintf(stderr, "debug: CButton(0x%08X)::Create()\n", this);

	CWnd::Create( WC_BUTTON, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext );

	return TRUE;
}

LRESULT CButton::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
	fprintf(stderr, "debug: CButton(0x%08X)::WindowProc( 0x%08X, 0x%08X, 0x%08X )\n", this, message, wParam, lParam);

}